/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.vdab.util.mens;

/**
 *
 * @author Joris.Lefever
 */
public enum Rijbewijs {
    A("A",1),B("B",2),BE("B+E",3),C("C",4),CE("C+E",5),D("D",6),DE("D+E",6);
    
    private String value;
    private int code;
    
    private Rijbewijs(String value,int code) {
        this.value = value;
        this.code = code;
    }
    
    private String getValue(){
        return this.value;
    }
    
    private int getCode(){
        return this.code;
    }
            
    @Override
    public String toString() {
        return getValue();
    }
}
